package org.rjxh.examfront.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考试答案
 * </p>
 *
 * @author BA7LGJ
 * @since 2024-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("exam_answer")
@ApiModel(value="ExamAnswer对象", description="考试答案")
public class ExamAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "答案ID")
    @TableId(value = "answer_id", type = IdType.ASSIGN_ID)
    private Long answerId;

    @ApiModelProperty(value = "答案")
    @TableField("answer_content")
    private String answerContent;

    @ApiModelProperty(value = "图片路径")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "正确")
    @TableField("right")
    private String right;

    @ApiModelProperty(value = "问题ID")
    @TableField("question_id")
    private Long questionId;


}
